import Layout from '@/layout';
export default {
	path: '/shop',
	component: Layout,
	redirect: '/shop/shopInfo',
	name: 'shop',
	meta: { title: '门店管理', icon: 'Frame-2', routerType: 'ERP' },
	children: [
		{
			path: 'shopInfo',
			name: 'shopInfo',
			component: () => import('@/views/shop/shopInfo'),
			meta: { title: '门店档案', icon: '', anniu: 'shopInfo_list' }
		},
		{
			path: 'shopAdd',
			name: 'shopAdd',
			hidden: true,
			component: () => import('@/views/shop/shopAdd'),
			meta: { title: '新增门店', icon: '', anniu: 'shop_add' }
		},
		{
			path: 'shopEdit',
			name: 'shopEdit',
			hidden: true,
			component: () => import('@/views/shop/shopAdd'),
			meta: { title: '修改门店', icon: '', anniu: 'shop_edit' }
		},
		{
			path: 'shopDetail',
			name: 'shopDetail',
			hidden: true,
			component: () => import('@/views/shop/shopAdd'),
			meta: { title: '门店详情', icon: '', anniu: 'shop_detail' }
		},
		{
			path: 'storeInventory',
			name: 'storeInventory',
			component: () => import('@/views/shop/storeInventory'),
			meta: { title: '门店商品信息', icon: '', anniu: 'storeInventory_list' }
		},
		{
			path: 'openingInventory',
			name: 'openingInventory',
			component: () => import('@/views/shop/openingInventory'),
			meta: { title: '期初库存修改记录', icon: '', anniu: 'openingInventory_list' }
		},
		{
			path: 'initialInventoryInfo',
			name: 'initialInventoryInfo',
			component: () => import('@/views/shop/initialInventoryInfo'),
			meta: { title: '门店库存盘点', icon: '', anniu: 'initialInventory_list' }
		},
		{
			path: 'retailPriceInfo',
			name: 'retailPriceInfo',
			component: () => import('@/views/shop/retailPriceInfo'),
			meta: { title: '零售价修改记录', icon: '', anniu: 'retailPrice_list' }
		},
		{
			path: 'initialInventoryDetail',
			name: 'initialInventoryDetail',
			hidden: true,
			component: () => import('@/views/shop/initialInventoryDetail'),
			meta: { title: '门店库存盘点详情', icon: '', anniu: 'initialInventory_detail' }
		},
		{
			path: 'commodityallocation',
			name: 'commodityallocation',
			component: () => import('@/views/shop/commodityallocation'),
			meta: { title: '商品调拨', icon: '', anniu: 'allocation_list' }
		},
		{
			path: 'commodityallocationAdd',
			name: 'commodityallocationAdd',
			hidden: true,
			component: () => import('@/views/shop/commodityallocationAdd'),
			meta: { title: '新增商品调拨', icon: '', anniu: 'allocation_add' }
		},
		{
			path: 'commodityallocationDetail',
			name: 'commodityallocationDetail',
			hidden: true,
			component: () => import('@/views/shop/commodityallocationAdd'),
			meta: { title: '商品调拨详情', icon: '', anniu: 'allocation_detail' }
		},
		{
			path: 'storeGPS',
			name: 'storeGPS',
			// hidden: true,
			component: () => import('@/views/shop/storeGPS'),
			meta: { title: '门店分布图', icon: '', anniu: 'storeGPS_list' }
		},
		{
			path: 'exchangegoods',
			name: 'exchangegoods',
			// hidden: true,
			component: () => import('@/views/shop/exchangegoods'),
			meta: { title: '兑换记录', icon: '', anniu: 'exchangegoods_list' }
		}
	]
};
